class CreateBatches < ActiveRecord::Migration
  def self.up
    create_table :batches do |t|
      t.column :name, :string
      t.column :description, :string
      t.column :creation_time, :datetime
      t.column :svn_revision, :string
      t.column :priority, :string
      t.column :colour, :string
      t.column :completed, :integer
    end
  end

  def self.down
    drop_table :batches
  end
end
